package com.baihan.angus.app.game.common.bean.response;

import com.baihan.angus.app.game.basic.base.BaseResponse;

import java.io.Serializable;
import java.util.List;

public class RoomResponse extends BaseResponse implements Serializable {


    /**
     * data : {"data":[{"room_id":1,"sn":"110588654","name":"测试","cover":"https://gc.hqzl.icu/assets/img/avatar.png","user_id":1,"script_id":1,"type":0,"reverse":0,"auth":1,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":1635757718,"update_time":1635757718,"delete_time":0,"user":{"id":1,"username":"admin","nickname":"admin","mobile":"13888888888","avatar":"/assets/img/avatar.png","score":0,"type":0,"url":"/u/1"},"script":{"script_id":1,"sn":"bh0001","name":"测试剧本","author":"李编剧","cover":"/uploads/20211027/7cbdb7d0a17db3f7c824e227b2082c43.jpg","poster":"/uploads/20211027/346a086859bcf158b9d202e78f23d0e4.jpg","intro":"测试剧本简介","num":5,"script_time":2,"score":"5","difficulty":1,"script_type":["0","2"],"reserve":0,"reserve_time":1635314907,"price":"0.00","manual":"","status":1,"weigh":2,"create_time":1635314907,"update_time":1635314907,"script_type_text":["机制本","恐怖本"],"difficulty_text":"一般"}},{"room_id":4,"sn":"110354578","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":0,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":5,"sn":"11044664","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":6,"sn":"110581078","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":7,"sn":"110527897","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":8,"sn":"110521539","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":9,"sn":"110685278","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":10,"sn":"110784852","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":11,"sn":"110780466","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":12,"sn":"110213132","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null}],"total":44}
     */

    private DataX data;

    public DataX getData() {
        return data;
    }

    public void setData(DataX data) {
        this.data = data;
    }

    public static class DataX implements Serializable {
        /**
         * data : [{"room_id":1,"sn":"110588654","name":"测试","cover":"https://gc.hqzl.icu/assets/img/avatar.png","user_id":1,"script_id":1,"type":0,"reverse":0,"auth":1,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":1635757718,"update_time":1635757718,"delete_time":0,"user":{"id":1,"username":"admin","nickname":"admin","mobile":"13888888888","avatar":"/assets/img/avatar.png","score":0,"type":0,"url":"/u/1"},"script":{"script_id":1,"sn":"bh0001","name":"测试剧本","author":"李编剧","cover":"/uploads/20211027/7cbdb7d0a17db3f7c824e227b2082c43.jpg","poster":"/uploads/20211027/346a086859bcf158b9d202e78f23d0e4.jpg","intro":"测试剧本简介","num":5,"script_time":2,"score":"5","difficulty":1,"script_type":["0","2"],"reserve":0,"reserve_time":1635314907,"price":"0.00","manual":"","status":1,"weigh":2,"create_time":1635314907,"update_time":1635314907,"script_type_text":["机制本","恐怖本"],"difficulty_text":"一般"}},{"room_id":4,"sn":"110354578","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":0,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":5,"sn":"11044664","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":6,"sn":"110581078","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":7,"sn":"110527897","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":8,"sn":"110521539","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":9,"sn":"110685278","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":10,"sn":"110784852","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":11,"sn":"110780466","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null},{"room_id":12,"sn":"110213132","name":"","cover":"","user_id":8,"script_id":0,"type":0,"reverse":1,"auth":0,"room_status":0,"join_num":0,"status":1,"weigh":0,"start_time":0,"create_time":null,"update_time":null,"delete_time":0,"user":{"id":8,"username":"13224288002","nickname":"13224288002","mobile":"13224288002","avatar":"/assets/img/avatar.png","score":0,"type":1,"url":"/u/8"},"script":null}]
         * total : 44
         */

        private int total;
        private List<Data> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<Data> getData() {
            return data;
        }

        public void setData(List<Data> data) {
            this.data = data;
        }

        public static class Data implements Serializable {
            /**
             * room_id : 1
             * sn : 110588654
             * name : 测试
             * cover : https://gc.hqzl.icu/assets/img/avatar.png
             * user_id : 1
             * script_id : 1
             * type : 0
             * reverse : 0
             * auth : 1
             * room_status : 0
             * join_num : 0
             * status : 1
             * weigh : 0
             * start_time : 0
             * create_time : 1635757718
             * update_time : 1635757718
             * delete_time : 0
             * user : {"id":1,"username":"admin","nickname":"admin","mobile":"13888888888","avatar":"/assets/img/avatar.png","score":0,"type":0,"url":"/u/1"}
             * script : {"script_id":1,"sn":"bh0001","name":"测试剧本","author":"李编剧","cover":"/uploads/20211027/7cbdb7d0a17db3f7c824e227b2082c43.jpg","poster":"/uploads/20211027/346a086859bcf158b9d202e78f23d0e4.jpg","intro":"测试剧本简介","num":5,"script_time":2,"score":"5","difficulty":1,"script_type":["0","2"],"reserve":0,"reserve_time":1635314907,"price":"0.00","manual":"","status":1,"weigh":2,"create_time":1635314907,"update_time":1635314907,"script_type_text":["机制本","恐怖本"],"difficulty_text":"一般"}
             */

            private String room_id;
            private String sn;
            private String name;
            private String cover;
            private String user_id;
            private String script_id;
            private int type;
            private int reverse;
            private int auth;
            private int room_status;
            private int join_num;
            private int status;
            private int weigh;
            private int start_time;
            private int create_time;
            private int update_time;
            private int delete_time;
            private User user;
            private Script script;

            public String getRoom_id() {
                return room_id;
            }

            public void setRoom_id(String room_id) {
                this.room_id = room_id;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getScript_id() {
                return script_id;
            }

            public void setScript_id(String script_id) {
                this.script_id = script_id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getReverse() {
                return reverse;
            }

            public void setReverse(int reverse) {
                this.reverse = reverse;
            }

            public int getAuth() {
                return auth;
            }

            public void setAuth(int auth) {
                this.auth = auth;
            }

            public int getRoom_status() {
                return room_status;
            }

            public void setRoom_status(int room_status) {
                this.room_status = room_status;
            }

            public int getJoin_num() {
                return join_num;
            }

            public void setJoin_num(int join_num) {
                this.join_num = join_num;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getWeigh() {
                return weigh;
            }

            public void setWeigh(int weigh) {
                this.weigh = weigh;
            }

            public int getStart_time() {
                return start_time;
            }

            public void setStart_time(int start_time) {
                this.start_time = start_time;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }

            public int getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(int update_time) {
                this.update_time = update_time;
            }

            public int getDelete_time() {
                return delete_time;
            }

            public void setDelete_time(int delete_time) {
                this.delete_time = delete_time;
            }

            public User getUser() {
                return user;
            }

            public void setUser(User user) {
                this.user = user;
            }

            public Script getScript() {
                return script;
            }

            public void setScript(Script script) {
                this.script = script;
            }

            public static class User implements Serializable {
                /**
                 * id : 1
                 * username : admin
                 * nickname : admin
                 * mobile : 13888888888
                 * avatar : /assets/img/avatar.png
                 * score : 0
                 * type : 0
                 * url : /u/1
                 */

                private String id;
                private String username;
                private String nickname;
                private String mobile;
                private String avatar;
                private int score;
                private int type;
                private String urlX;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getMobile() {
                    return mobile;
                }

                public void setMobile(String mobile) {
                    this.mobile = mobile;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getScore() {
                    return score;
                }

                public void setScore(int score) {
                    this.score = score;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getUrlX() {
                    return urlX;
                }

                public void setUrlX(String urlX) {
                    this.urlX = urlX;
                }
            }

            public static class Script implements Serializable {
                /**
                 * script_id : 1
                 * sn : bh0001
                 * name : 测试剧本
                 * author : 李编剧
                 * cover : /uploads/20211027/7cbdb7d0a17db3f7c824e227b2082c43.jpg
                 * poster : /uploads/20211027/346a086859bcf158b9d202e78f23d0e4.jpg
                 * intro : 测试剧本简介
                 * num : 5
                 * script_time : 2
                 * score : 5
                 * difficulty : 1
                 * script_type : ["0","2"]
                 * reserve : 0
                 * reserve_time : 1635314907
                 * price : 0.00
                 * manual :
                 * status : 1
                 * weigh : 2
                 * create_time : 1635314907
                 * update_time : 1635314907
                 * script_type_text : ["机制本","恐怖本"]
                 * difficulty_text : 一般
                 */

                private String script_id;
                private String sn;
                private String name;
                private String author;
                private String cover;
                private String poster;
                private String intro;
                private int num;
                private int script_time;
                private String score;
                private int difficulty;
                private int reserve;
                private long reserve_time;
                private String price;
                private String manual;
                private int status;
                private int weigh;
                private int create_time;
                private int update_time;
                private String difficulty_text;
                private List<String> script_type;
                private List<String> script_type_text;

                public String getScript_id() {
                    return script_id;
                }

                public void setScript_id(String script_id) {
                    this.script_id = script_id;
                }

                public String getSn() {
                    return sn;
                }

                public void setSn(String sn) {
                    this.sn = sn;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getAuthor() {
                    return author;
                }

                public void setAuthor(String author) {
                    this.author = author;
                }

                public String getCover() {
                    return cover;
                }

                public void setCover(String cover) {
                    this.cover = cover;
                }

                public String getPoster() {
                    return poster;
                }

                public void setPoster(String poster) {
                    this.poster = poster;
                }

                public String getIntro() {
                    return intro;
                }

                public void setIntro(String intro) {
                    this.intro = intro;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getScript_time() {
                    return script_time;
                }

                public void setScript_time(int script_time) {
                    this.script_time = script_time;
                }

                public String getScore() {
                    return score;
                }

                public void setScore(String score) {
                    this.score = score;
                }

                public int getDifficulty() {
                    return difficulty;
                }

                public void setDifficulty(int difficulty) {
                    this.difficulty = difficulty;
                }

                public int getReserve() {
                    return reserve;
                }

                public void setReserve(int reserve) {
                    this.reserve = reserve;
                }

                public long getReserve_time() {
                    return reserve_time;
                }

                public void setReserve_time(long reserve_time) {
                    this.reserve_time = reserve_time;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getManual() {
                    return manual;
                }

                public void setManual(String manual) {
                    this.manual = manual;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getWeigh() {
                    return weigh;
                }

                public void setWeigh(int weigh) {
                    this.weigh = weigh;
                }

                public int getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(int create_time) {
                    this.create_time = create_time;
                }

                public int getUpdate_time() {
                    return update_time;
                }

                public void setUpdate_time(int update_time) {
                    this.update_time = update_time;
                }

                public String getDifficulty_text() {
                    return difficulty_text;
                }

                public void setDifficulty_text(String difficulty_text) {
                    this.difficulty_text = difficulty_text;
                }

                public List<String> getScript_type() {
                    return script_type;
                }

                public void setScript_type(List<String> script_type) {
                    this.script_type = script_type;
                }

                public List<String> getScript_type_text() {
                    return script_type_text;
                }

                public void setScript_type_text(List<String> script_type_text) {
                    this.script_type_text = script_type_text;
                }
            }
        }
    }
}
